//
//  Global.h
//  Futures
//
//  Created by Cheng on 2017/7/11.
//  Copyright © 2017年 Cheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QuoteModel.h"
#import "User.h"

#define GLOBAL_ISLOGIN  [[Global shareInstance] isLogin]
#define GLOBAL_INSTANCE [Global shareInstance]

@interface Global : NSObject

singleton_interface(Global)

/*
 *  全局数据模型
 */

@property (strong,nonatomic) QuoteModel *quoteModel;

/*
 *  全局用户
 */
@property (strong,nonatomic) User *user;

@property (assign,nonatomic,readonly) BOOL isLogin;

@end
